﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MockPrjTeam2.Entity
{
    public class Address
    {
        public int AddressId { get; set; }
        public string PostCode { get; set; }
        private Town town;

        public Town _Town
        {
            get { return town; }
            set { town = value; }
        }
        
        public County _County { get; set; }
        public Country _Country { get; set; }
        public string _Address { get; set; }

        public Address() { }
        public Address(int _addressId,string _address, string _postCode, Town _town, County _countyName, Country _countryName)
        {
            AddressId = _addressId;
            _Address = _address;
            PostCode = _postCode;
            town = _town;
            _County = _countyName;
            _Country = _countryName;
        }
    }
}